﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WfhTrader.Core.Trading
{
    /// <summary>
    /// CTP报单
    /// </summary>
    public class CtpOrder
    {
        /// <summary>
        /// 报单数量
        /// </summary>
        public int Volume { get; set; }

        /// <summary>
        /// 报单引用
        /// </summary>
        public string OrderRef { get; set; }

        /// <summary>
        /// 交易所代码
        /// </summary>
        public string ExchangeID { get; set; }

        /// <summary>
        /// 报单编号
        /// </summary>
        public string OrderSysID { get; set; }

        /// <summary>
        /// 对应持仓类
        /// </summary>
        public Position Position { get; set; }

        /// <summary>
        /// 对应持仓明细类
        /// </summary>
        public PositionDetail PositionDetail { get; set; }
    }
}
